type go/types.errorCode
20 uses
go/types (current package)
api.go#L54: go116code errorCode
builtins.go#L849: var code errorCode
errorcodes.go#L7: type errorCode int
errorcodes.go#L34: _ errorCode = iota
errors.go#L195: func (check *Checker) newError(at positioner, code errorCode, soft bool, msg string) error {
errors.go#L209: func (check *Checker) newErrorf(at positioner, code errorCode, soft bool, format string, args ...any) error {
errors.go#L214: func (check *Checker) error(at positioner, code errorCode, msg string) {
errors.go#L218: func (check *Checker) errorf(at positioner, code errorCode, format string, args ...any) {
errors.go#L222: func (check *Checker) softErrorf(at positioner, code errorCode, format string, args ...any) {
errors.go#L230: func (check *Checker) invalidArg(at positioner, code errorCode, format string, args ...any) {
errors.go#L234: func (check *Checker) invalidOp(at positioner, code errorCode, format string, args ...any) {
expr.go#L432: func (check *Checker) representation(x *operand, typ *Basic) (constant.Value, errorCode) {
expr.go#L455: func (check *Checker) invalidConversion(code errorCode, x *operand, target Type) {
expr.go#L632: func (check *Checker) implicitTypeAndValue(x *operand, target Type) (Type, constant.Value, errorCode) {
expr.go#L1743: var code errorCode
index.go#L376: func (check *Checker) isValidIndex(x *operand, code errorCode, what string, allowNegative bool) bool {
labels.go#L25: var code errorCode
operand.go#L234: func (x *operand) assignableTo(check *Checker, T Type, reason *string) (bool, errorCode) {
stmt.go#L176: var code errorCode
stmt.go#L397: var code errorCode